package Exercise1109;

//관리번호, 제목, 저자, getLastFees
public class Q40_ScienceFiction {

	private String mno;
	private String title;
	private String writer;

	// 생성자
	public Q40_ScienceFiction() {
	}

	public Q40_ScienceFiction(String mno, String title, String writer) {
		this.mno = mno;
		this.title = title;
		this.writer = writer;
	}

	// getter/setter 메서드

	public void setMno(String mno) {
		this.mno = mno;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getMno() {
		return this.mno;
	}

	public String getTitle() {
		return this.title;
	}

	public String getWriter() {
		return this.writer;
	}
	
	// getLastFees
	
	static int getLastFees(int days){
		return 1000 * days;
	}
		
}